package cn.elegent.txdemo.product.feign;

import cn.elegent.txdemo.common.dto.PayDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "users")
public interface UserFeign {

    @PostMapping("/user/deduct")
    public void deduct(@RequestBody PayDto payDto);

}
